package com.example.studentportrait.domain.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("grade_statistics")
public class GradeStatistics {
    private int id;

    private String account;

    private double avgGpa;

    private double agvScore;

    private int subjectCount;

    private int failureCount;

    private int nonProfessionalCount;

    private int professionalCount;

    private int majorId;

    private double professionalCoursesAvg;

    private double nonProfessionalCoursesAvg;

    private double firstYearScore;

    private double scondYearScore;

    private double threeYearScore;

    private double fourYearScore;

    @TableField(fill= FieldFill.INSERT)
    private String createUser;

    @TableField(fill= FieldFill.INSERT)
    private String updateUser;

    @TableField(fill= FieldFill.INSERT)
    private Date createTime;
    @TableField(fill= FieldFill.INSERT_UPDATE)
    private Date updateTime;

    private int isDelete;
}
